package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电表管理对象 bus_dianbiao
 *
 * @author ruoyi
 * @date 2022-09-04
 */
public class BusDianbiao extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String company;

    /**
     * 建筑
     */
    @Excel(name = "建筑")
    private String building;

    /**
     * 楼层
     */
    @Excel(name = "楼层")
    private String floor;

    private String uname;

    private String tphone;

    /**
     * 编号
     */
    @Excel(name = "编号")
    private String code;

    /**
     * 业主类型
     */
    @Excel(name = "业主类型")
    private String type;

    /**
     * 电表读数
     */
    @Excel(name = "电表读数")
    private String dvalue;

    /**
     * 剩余电量
     */
    @Excel(name = "剩余电量")
    private String remainvalue;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompany() {
        return company;
    }

    public void setBuilding(String building) {
        this.building = building;
    }

    public String getBuilding() {
        return building;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getFloor() {
        return floor;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setDvalue(String dvalue) {
        this.dvalue = dvalue;
    }

    public String getDvalue() {
        return dvalue;
    }

    public void setRemainvalue(String remainvalue) {
        this.remainvalue = remainvalue;
    }

    public String getRemainvalue() {
        return remainvalue;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getTphone() {
        return tphone;
    }

    public void setTphone(String tphone) {
        this.tphone = tphone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("company", getCompany())
                .append("building", getBuilding())
                .append("floor", getFloor())
                .append("code", getCode())
                .append("type", getType())
                .append("dvalue", getDvalue())
                .append("remainvalue", getRemainvalue())
                .append("uname", getUname())
                .append("tphone", getTphone())
                .toString();
    }
}
